/**
 *  Copyright (C) 2008 Richard Hall
 *
 *  This program is free software; you can redistribute it and/or modify it under the terms of the 
 *  GNU General Public License as published by the Free Software Foundation; either version 3 of the 
 *  License, or (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without 
 *  even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 
 *  See the GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License along with this program; if not, 
 *  see <http://www.gnu.org/licenses>.
 *
 *  Additional permission under GNU GPL version 3 section 7
 *
 *  If you modify this Program, or any covered work, by linking or combining it with [name of library] 
 *  (or a modified version of that library), containing parts covered by the terms of 
 *  [name of library's license], the licensors of this Program grant you additional permission to 
 *  convey the resulting work. {Corresponding Source for a non-source form of such a combination shall 
 *  include the source code for the parts of [name of library] used as well as that of the 
 *  covered work.}
 *
 * 
 */

package com.gpsmedia.dataobject.audio;

/** 
 * This class is used to store the data gathered about the audio files.
 * 
 * @author Richard Hall */
public class AudioData {

    private String path = "";
    private String title = "";
    private String description = "";
    private boolean include = false;
    private boolean checked = false;
    private boolean audioUpload = true;//change later when switch is sorted

    private String audioUploadPath = "";

    /**
	 * Gets the path to the audio
	 * 
	 * @return The path to the audio
	 */
    public String getPath() {
        return path;
    }

    /**
	 * Sets the path to the audio
	 * 
	 * @param path
	 *            The path to the audio
	 */
    public void setPath(String path) {
        this.path = path;
    }

    /**
	 * Gets the title of the audio
	 * 
	 * @return The title of the audio
	 */
    public String getTitle() {
        return title;
    }

    /**
	 * Sets the title of the audio
	 * 
	 * @param title
	 *            The title of the audio
	 */
    public void setTitle(String title) {
        this.title = title;
    }

    /**
	 * Gets the description of th audio
	 * 
	 * @return The description of the audio
	 */
    public String getDescription() {
        return description;
    }

    /**
	 * Sets the description of the audio
	 * 
	 * @param description
	 *            The description of the audio.
	 */
    public void setDescription(String description) {
        this.description = description;
    }

    /**
     * Returns whether the audio has been included or not.
     * 
     * @return Boolean true or false
     */
    public boolean isInclude() {
        return include;
    }

    /**
	 * Sets whether this audio has been included.
	 * 
	 * @param include
	 *            Boolean true or false
	 */
    public void setInclude(boolean include) {
        this.include = include;
    }

    /**
     * Returns whether the audio has been checked or not.
     * 
     * @return Boolean true or false
     */
    public boolean isChecked() {
        return checked;
    }

    /**
	 * Sets whether this audio has been checked.
	 * 
	 * @param checked
	 *            Boolean true or false
	 */
    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    /**
	 * Returns the uploaded audio path
	 * 
	 * @return The uploaded audio path
	 */
    public String getAudioUploadPath() {
        return audioUploadPath;
    }

    /**
	 * Sets the uploaded audio path
	 * 
	 * @param audioUploadPath
	 *            The uploaded audio path
	 */
    public void setAudioUploadPath(String audioUploadPath) {
        this.audioUploadPath = audioUploadPath;
    }
}

